
body{    
    font-family: 'glyphicons-halflings-regular.ttf';
    height: 100%;
}
.container{
    width: 1170px;
    min-width: 1170px;
    margin: 0 auto;
    padding: 0;
}
ul,li{
    padding: 0;
    margin: 0;
    list-style: none;
}
.introduce>figure img{
    margin-top: 20px;
}
a:hover{
    text-decoration: none;
    cursor: pointer;
}

/*首页导航栏*/
header{
    width: 100%;
    height: 40px;
    margin-top: 0;
    background-color: #333;
}
header>nav{
    width: 100%;
    height: 100%;
    position: relative;
    color: #bbb;
    font-size: 12px;
}
header>nav ul{
    width: 800px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
}
header>nav ul li{
    float: left;
    margin-right: 20px;
}
header>nav ul li a{
    color: #bbb;
}
header>nav ul li a:hover{
    color: #fff;
}
header>nav>p{
    display: inline-block;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 40px;
    line-height: 40px;
}
header>nav>p span{
    margin-left: 8px;
}
header>nav>p>#shopping_car{
    display: inline-block;
    width: 132px;
    height: 100%;
    line-height: 40px;
    text-align: center;
}
header>nav>p>#shopping_car span{
    margin-left: 3px;
}
header>nav>p a{
    color: #bbb;
}
header>nav>p a:hover{
    color: #fff;
}
header>nav>p>#shopping_car:hover{
    background-color: #fff;
    color: orangered;
}

/*搜索框导航栏*/
.search{
    position: relative;
}
.search_title{
    height: 100px;
    line-height: 100px;
}
.search_title>div{
    display: inline-block;
}
.search_title>p{
    display: inline-block;
}
.search-ul{
    width: 100%;
    height: 200px;
    /*border-top: 1px solid #ccc;*/
    position: absolute;
    top: 100px;
    left: 0;    
    z-index: 2000;
    overflow: hidden;
}
.search-ul>div{
    height: 100%;
    position: relative;
}
.search-ul>div>ul{
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: -200px;
    left: 0;
}
.search-ul ul li{
    height: 100%;
    width: 195px;
    float: left;
    text-align: center;
}
.search-ul ul li img{
    width: 100%;
    height: 120px;
    margin-top: 20px;
    border-right: 1px solid #ccc;
}
.search-ul ul li:last-child img{
    border-right: none;
}
.search-ul ul li p{
    font-size: 14px;
    font-family: '黑体';
    margin: 0;
    margin-top: 10px;
}
.search-ul ul li p:last-child{
    margin-top: 0;
    color: red;
}
.search_title p a{
    display:inline-block;
    height: 100%;
    color: #000;
    font-family: '黑体';
    font-size: 16px;
    /*margin: 4px;*/
}
.search_title p a:hover{
    color: orangered;
}
.search_title input{
    height: 50px;
    border: 1px solid #ccc;
    background-color: #fff;
}
.search_title #search_div{
    width: 290px;
    height: 50px;
    position: relative;
    float: right;
    margin-right: 18px;
}
.search_title .search-btn:hover{
    background-color: orangered;
    color: #fff;
}
.search_title input.keyword{
    width: 249px;
    margin-left: 10px;
}
.search_title .search-btn{
    display: inline-block;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    background-color: #fff;
    position: absolute;
    left: 258px;
    top: 25px;
}

/*轮播图*/
main.container{
    height: 1108px;
    background-color: #fff;
    padding: 0;
    overflow: hidden;
}
.banner_main{
    height: 460px;
}
.banner_main>#banner_img{
    width: 100%;
    height: 100%;
    position: relative;
    /*overflow: hidden;*/
}
#banner_img>.banner_title{
    display: inline-block;
    width: 235px;
    height: 460px;
    background-color: #666;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
}
#banner_img>.banner_title .title-ul{
    margin-top: 18px;
}
#banner_img>.banner_title .title-ul .title-a{
    display: inline-block;
    width: 100%;
}
.title-ul .title-a:hover{
    background-color: orangered;
}
.title-ul .title-li{
    width: 100%;
    height: 42px;
    line-height: 42px;
    color: #fff;
    padding-left: 25px;
    font-size: 12px;
    font-weight: 600;
}
#banner_img>.banner_title .title-ul .title-li span{
    float: right;
    font-size: 16px;
    font-weight: bold;
    color: #ccc;
    padding-right: 18px;
}
/*轮播图侧边*/
.banner_title .list-div1{
    width: 710px;
    height: 100%;
    border: 1px solid #ccc;
    box-shadow: 0 5px 10px #999;
    position: absolute;
    top: 0;
    left: 235px;
    background-color: #fff;
    display: none;
}
.list-div1>.div1-ul{
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;
}
.list-div1>.div1-ul>li{
    display: inline-block;
    width: 200px;
    height: 60px;
    /*float: left;*/
    line-height: 60px;
    margin-left: 20px;
    margin-bottom: 10px;
    color: #666;
}
.list-div1>.div1-ul>li p{
    display: inline-block;
}
.list-div1>.div1-ul>li p:hover{
    color: orangered;
}
.list-div1>.div1-ul>li.last-li{
    position: absolute;
    top: 20px;
    right: 10px;
}
.list-div1>.div1-ul>li.last-li1{
    position: absolute;
    top: 90px;
    right: 10px;
}
.list-div1>.div1-ul>li.last-li2{
    position: absolute;
    top: 160px;
    right: 10px;
}
.list-div1>.div1-ul>li a{
    display: inline-block;
    width: 50px;
    height: 26px;
    line-height: 26px;
    margin-top: 16px;
    text-align: center;
    float: right;
    border: 1px solid orangered;
    color: orangered;
}
.list-div1>.div1-ul>li a:hover{
    color: #fff;
    background-color: orangered;
}
.banner_title .list-div2{
    width: 280px;
}
.banner_title .list-div4{
    width: 720px;
}

/*轮播图下索引块图*/
.index_block{
    height: 170px;
    margin-top: 15px;
}
.index_block>.index_auto{
    width: 100%;
    height: 100%;
    position: relative;
}
.index_auto>.block_title{
    display: inline-block;
    width: 235px;
    height: 100%;
    background-color: #5f5750;
}
.index_auto>.block_title>.block-ul{
    width: 100%;
    height: 100%;
    padding: 15px;
}
.block_title>.block-ul>li{
    width: 68px;
    height: 72px;
    text-align: center;
    float: left;
    border-bottom: 1px solid #666;
    border-right: 1px solid #666;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 12px;
}
.block_title>.block-ul>li .btn{
    font-size: 24px;
}
.block-ul>li.li3,
.block-ul>li.li6{
    border-right: 0;
}
.block-ul>li.li4,
.block-ul>li.li5,
.block-ul>li.li6{
    border-bottom: 0;
}
.index_auto>.index-ul{
    display: inline-block;
    width: calc(100% - 235px);
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
}
.index_auto>.index-ul li{
    width: 316px;
    height: 100%;
    margin-left: 15px;
    margin-right: 0;
}
.index_auto>.index-ul li:first-child{
    margin-left: 15px;
}
.index_auto>.index-ul li>img{
    width: 100%;
    height: 100%;
}

/*小米明星单品*/
.star_title{
    height: 58px;
    margin-top: 25px;
}
h1{
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 58px;
    font-size: 22px;
    font-weight: bold;
    position: relative;
}
h1>.star_btn{
    display: inline-block;
    height: 24px;
    width: 73px;
    border: 1px solid #ccc;
    position: absolute;
    top: 17px;
    right: 0;
}
h1>.star_btn>span{
    display: inline-block;
    width: 50%;
    height: 100%;
    line-height: 23px;
    color: #ccc;
    font-size: 14px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
h1>.star_btn>span:hover{
    color: orangered;
    cursor: pointer;
}
h1>.star_btn span:first-child{
    border-right: 1px solid #ccc;
    position: absolute;
    top: 1px;
    right: 37px;
}
.star_main{
    width: 100%;
    height: 340px;
    position: relative;
    /*overflow: hidden;*/
}
.star_main>ul{
    width: 2370px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.star_main li{
    width: 222px;
    height: 340px;
    margin-right: 15px;
    background-color: #fafafa;
    float: left;
    padding-top: 40px;
}
.star_main li>figure{
    width: 100%;
    height: 100%;
    text-align: center;
}
figure>img{
    width: 160px;
    height: 160px;
    margin: 0 auto; 
}
figcaption{
    font-family: '黑体';
}
figcaption h3{
    font-size: 16px;
}
figcaption .star_desc{
    font-size: 14px;
    color: #999;
}
figcaption .star_price{
    font-size: 16px;
    color: red;
}

/*智能硬件*/
#many_goods{
    height: 4655px;
    padding-top: 60px;
    background-color: #f5f5f5;
}
#smart_title{
    width: 100%;
    height: 58px;
    line-height: 58px;
}
h1>.text_right{
    font-size: 16px;
    float: right;
    font-weight: normal;
    color: #333;
    position: relative;
}
h1>.text_right>span{
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background-color: #999;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    margin-left: 5px;
}
.smart_goods{
    height: 614px;
    position: relative;
}
.smart_goods>.smart_left{
    width: 234px;
    height: 100%;
}
.smart_left>img{
    width: 100%;
    height: 100%;
}
.smart_goods>.smart_img{
    width: calc(100% - 234px);
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
.smart_goods>.smart_img figure{
    width: 221px;
    height: 300px;
    float: left;
    text-align: center;
    background-color: #fff;
    margin-left: 13px;
    margin-bottom: 13px;
}
.smart_goods>.smart_img figure img{
    margin-top: 20px;
}
.index_auto>.index-ul li:hover,
.smart_left>img:hover,
.smart_goods>.smart_img figure:hover{
    box-shadow: 0 5px 20px #ccc;
    transform: translateY(-2px);
    transition: 0.5s;
}
  figcaption .star_desc{
    font-size: 14px;
    color: #999;
}
.smart_img figcaption .star_price{
    font-size: 16px;
    color: red;
}

/*搭配*/
.dapei_title{
    margin-top: 30px;
}
.dapei_goods .smart_left div{
    width: 100%;
    height: 300px;
    margin-bottom: 14px;
}
.dapei_goods .smart_left div:hover{
    box-shadow: 0 5px 20px #ccc;
    transform: translateY(-2px);
    transition: 0.5s;
}
.dapei_goods .smart_left div>img{
    width: 100%;
    height: 100%;
}
.dapei_goods>.dapei_img{
    width: calc(100% - 234px);
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
.dapei_img>figure{
    width: 221px;
    height: 300px;
    float: left;
    text-align: center;
    background-color: #fff;
    margin-left: 13px;
    margin-bottom: 13px;
    position: relative;
    overflow: hidden;
}
.dapei_img>figure img{
    margin-top: 20px;
}
.vedio>figure:hover,
.dapei_img figure:hover,
.dapei_img div.dapei_right:hover,
.dapei_img div.anymore:hover{
    box-shadow: 0 5px 20px #ccc;
    transform: translateY(-2px);
    transition: 0.5s;
}
.dapei_img figcaption .star_desc{
    font-size: 16px;
    color: red;
}
.dapei_img figcaption .star_price{
    font-size: 16px;
    color: #999;
}
.dapei_img figure>.answer{
    width: 100%;
    height: 70px;
    background-color: #ff6700;
    position: absolute;
    bottom: -70px;
    left: 0;
}
.dapei_img figure>.answer p{
    text-align: center;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    z-index: 990;
    margin-top: 15px;
}
.dapei_img figure>.answer p:last-of-type{
    color: papayawhip;
    font-weight: normal;
}
.dapei_img div.dapei_right,
.dapei_img div.anymore{
    width: 221px;
    height: 143px;
    background-color: #fff;
    margin-left: 13px;
    margin-bottom: 13px;
    display: flex;
    justify-content: space-around;
    padding: 20px;
}
.dapei_img div.dapei_right{
    position: absolute;
    right: 0;
    bottom: 145px;
}
.dapei_img div.anymore{
    position: absolute;
    right: 0;
    bottom: -12px;
}
.dapei_right>div,
.anymore>div{
    width: 100px;
    height: 50px;
    margin-top: 30px;
    margin-left: 10px;
}
.dapei_right div>p,
.anymore div>p{
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
}
.anymore div>p{
    font-size: 14px;
}
.anymore div>.more{
    font-weight: normal;
    color: #999;
    font-size: 12px;
}
.dapei_right div>.price{
    color: red;
}
.dapei_right>img{
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-top: 10px;
}
.anymore>img{
    display: inline-block;
    width: 65px;
    height: 60px;
    margin-top: 15px;
}

/*为你推荐*/
.introduce{
    overflow: hidden;
}
.introduce li{
    background-color: #fff;
}
/*.introduce>figure{
    width: 221px;
    height: 300px;
    float: left;
    text-align: center;
    background-color: #fff;
    margin-left: 13px;
    margin-bottom: 13px;
}
.introduce>figure:first-child{
    width: 234px;
    margin-left: 0;
}
.introduce figcaption .star_desc{
    font-size: 16px;
    color: red;
}
.introduce figcaption .star_price{
    font-size: 14px;
    color: #999;
}*/

/*热评产品*/
.hotask{
    height: 415px;
}
.hotask>figure{
    width: 282px;
    height: 100%;
    float: left;
    text-align: center;
    background-color: #fff;
    margin-left: 14px;
    margin-bottom: 13px;
}
.hotask>figure:first-child{
    margin-left: 0;
}
.hotask>figure img{
    width: 100%;
    height: 220px;
}
.hotask figcaption{
    height: 190px;
    text-align: left;
    padding: 15px;
    position: relative;
}
.hotask figcaption h3{
    margin-top: 10px;
    line-height: 25px;
    font-size: 14px;
}
.hotask figcaption .star_desc{
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    position: absolute;
    bottom: 45px;
}
.hotask figcaption .goodsname{
    position: absolute;
    bottom: 8px;
}
.hotask figcaption .star_price{
    font-size: 16px;
    color: red;
}

/*内容*/
.neirong{
    height: 420px;
}
.neirong>figure{
    width: 282px;
    height: 100%;
    float: left;
    text-align: center;
    background-color: #fff;
    margin-left: 14px;
    margin-bottom: 13px;
    position: relative;
}
.neirong>figure h2{
    display: inline-block;
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: green;
}
.neirong>figure:first-child{
    margin-left: 0;
}
.neirong figcaption{
    text-align: center;
    padding-top: 0;
}
.neirong img{
    width: 216px;
    height: 154px;
    position: absolute;
    left: 35px;
    bottom: 45px;
}
.neirong figcaption h3{
    font-size: 20px;
}
.neirong figcaption .star_desc{
    font-size: 14px;
    color: #999;
    padding:  0 30px;
}
.neirong figcaption .star_price{
    font-size: 16px;
    color: #333;
}

/*视频*/
.vedio{
    height: 280px;
}
.vedio>figure{
    width: 282px;
    height: 100%;
    float: left;
    text-align: center;
    background-color: #fff;
    margin-left: 14px;
    margin-bottom: 13px;
    position: relative;
}
.vedio>figure .play-btn{
    width: 35px;
    height: 22px;
    text-align: center;
    line-height: 18px;
    border: 2px solid #fff;
    background-color: #666;
    border-radius: 30px;
    position: absolute;
    left: 25px;
    top: 145px;
}
.vedio>figure .play-btn>span{
    color: #fff;
    font-size: 12px;
}
.vedio>figure:first-child{
    margin-left: 0;
}
.vedio img{
    width: 100%;
    height: 180px;
}

/*底部*/
footer{
    width: 100%;
    height: 438px;
    font-family: '黑体';
}
footer .footer-service{
    height: 80px;
}
.footer-service>ul{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}
.footer-service>ul>li{
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-right: 1px solid #ccc;
    margin-top: 25px;
}
.footer-service>ul>li:last-child{
    border-right: 0;
}
.footer-service>ul li>a{
    color: #333;
    font-size: 16px;
}
.footer-service>ul li a:hover{
    color: orangered;
}
.footer-service>ul li a span:first-child{
    margin-right: 5px;
}
/*服务*/
.footer-links{
    height: 192px;
    padding: 40px 0;
    position: relative;
}
.footer-links .col-links{
    width: 156px;
    float: left;
    color: #555;
}
.footer-links .col-links:last-of-type{
    border-right: 1px solid #ccc;
}
.footer-links .col-links dt{
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 17px;
}
.footer-links .col-links dd{
    margin-top: 8px; 
}
.footer-links .col-links dd a{
    color: #999;
}
.col-links dd a:hover{
    color: orangered;
}
.footer-links>.col-contact{
    width: 234px;
    height: 100%;
    padding: 40px 0;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
.col-contact .phone{
    width: 100%;
    height: 22px;
    font-weight: 600;
    font-size: 22px;
    color: orangered;
}
.col-contact .cal-date{
    color: #666;
    margin-top: 10px;
}
.col-contact .cal-date span{
    display: block;
}
.col-contact>a{
    display: inline-block;
    width: 120px;
    height: 30px;
    font-size: 12px;
    color: orangered;
    line-height: 30px;
    border: 1px solid orangered;
}
.col-contact>a span:first-child{
    margin-right: 6px;
}
.col-contact>a:hover{
    color: #fff;
    background-color: orangered;
}
/*底部导航*/
.site-info{
    width: 100%;
    height: 166px;
    background-color: #f5f5f5;
    padding: 32px 0;
    position: relative;
}
.site-info .container{
    height: 60px;
    position: relative;
}
.site-info .container .footer-logo{
    display: inline-block;
    width: 57px;
    height: 57px;
    position: absolute;
    left: 0;
    top: 0;
}
.footer-logo>img{
    width: 100%;
    height: 100%;
}
.container .footer-text{
    display: inline-block;
    height: 100%;
    width: 749px;
    margin-left: 65px;
}
.container .footer-text p{
    font-size: 13px;
    margin: 0;
    color: #bbb;
}
.container .footer-text p a{
    color: #666;
}
.container .footer-icon{
    position: absolute;
    top: 0;
    right: 0;
}
footer .site-info>#slogan{
    position: absolute;
    left: calc(50% - 133px);
    bottom: 25px;
    z-index: 1000;
}